#include "object_base.h"

BaseObject::BaseObject () {
    ID_COUNT += 1;
    this->id = ID_COUNT;
}

BaseObject::BaseObject (char* name) {
    ID_COUNT += 1;
    this->id = ID_COUNT;
    this->name = name;
}

signed const int BaseObject::getId() {
    return this->id;
}

const char* BaseObject::getName() {
    return this->name;
}

void BaseObject::setName(char* name) {
    this->name = name;
}

bool BaseObject::idEquals(signed int id) {
    return true;
}

bool BaseObject::nameEquals(char* name) {
    return true;
}
